<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>软件工程学院 - 江西理工大学</title>
  <!-- Normalize.css -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
  <!-- 自定义样式 -->
  <link rel="stylesheet" href="mystyle.css" />
</head>
<body>
        <div class="topWrap clearfix">
        <div class="endiv">
            <div class="en">
                <a style="float: left;width: 100%; height: 20px; padding-left: 15px;">欢迎来到 江西理工大学软件工程学院</a>
                    <a href="Index_En.htm" style="float: right; height: 20px; padding-right: 15px;">English</a> 
            </div>
        </div>
        <div class="topDiv">
     <div class="logo">
<a href="index.htm"><img src="images/logo.png" width="800" height="50" float: left; margin: 0;  padding: 0;></a>
        </div>
  <!-- 顶部导航栏 -->
  <header class="site-header">
    <div class="container">
      <div class="logo">软件工程学院</div>
      <nav class="main-nav">
        <ul>
          <li><a href="#">学院概况</a></li>
          <li><a href="#">教学工作</a></li>
          <li><a href="#">学生工作</a></li>
          <li><a href="#">研究生培养</a></li>
          <li><a href="#">党建工会</a></li>
          <li><a href="#">学术科研</a></li>
          <li><a href="#">招生就业</a></li>
          <li><a href="news-list.html">通知公告</a></li>
          <li><a href="#">下载中心</a></li>
        </ul>
      </nav>
      <div class="search-box">
        <form>
          <input type="text" placeholder="搜索" />
          <button type="submit">搜索</button>
        </form>
      </div>
    </div>
  </header>

   <!-- 轮播图区域 -->
  <section class="carousel">
    <div class="carousel-inner">
      <div class="carousel-item"><img src="images/slide1.jpg" alt="校园风光1"></div>
      <div class="carousel-item"><img src="images/slide2.jpg" alt="校园风光2"></div>
      <div class="carousel-item"><img src="images/slide3.jpg" alt="学术活动"></div>
      <div class="carousel-item"><img src="images/slide4.png" alt="学生活动"></div>
      <div class="carousel-item"><img src="images/slide5.png" alt="实验室场景"></div>
      <div class="carousel-item"><img src="images/slide6.png" alt="毕业典礼"></div>
    </div>
    <div class="carousel-indicators">
      <span class="indicator active" data-index="0"></span>
      <span class="indicator" data-index="1"></span>
      <span class="indicator" data-index="2"></span>
      <span class="indicator" data-index="3"></span>
      <span class="indicator" data-index="4"></span>
      <span class="indicator" data-index="5"></span>
    </div>
  </section>

  <!-- 主内容区 -->
  <main class="main-content">
    <div class="container">
      <!-- 学院新闻 -->
      <section class="news-section" >
        <h2>学院新闻</h2>
        <ul>
          <li>
            <a href="news-detail.html">我院师生党员参加学校2025年党员基本培训第二次集中大课</a>
            <time datetime="2025-10-21">2025-10-21</time>
          </li>
          <li>
            <a href="news-detail.html">我院在江西理工大学南昌校区第三十九届运动会上再创佳绩</a>
            <time datetime="2025-10-17">2025-10-17</time>
          </li>
        </ul>
        <a href="news-detail.html" class="more-link">更多 >></a>
      </section>

      <!-- 通知公告 -->
      <section class="news-section" >
        <h2>通知公告</h2>
        <ul>
          <li>
            <a href="#">软件工程学院团委2025年9月推优名单公示</a>
            <time datetime="2025-09-28">2025-09-28</time>
          </li>
          <li>
            <a href="#">软件工程学院2025年研究生国家奖学金学院公示</a>
            <time datetime="2025-09-26">2025-09-26</time>
          </li>
        </ul>
        <a href="#" class="more-link">更多 >></a>
      </section>

      <!-- 招生就业 -->
      <section class="news-section">
        <h2>招生就业</h2>
        <ul>
          <li><a href="#">我院举办2026届毕业生招聘会</a></li>
          <li><a href="#">我院举办硕士研究生备考指导讲座​</a></li>
        </ul>
        <a href="#" class="more-link">更多 >></a>
      </section>

      <!-- 友情链接 -->
      <section class="friend-links">
        <h3>友情链接</h3>
        <div class="links-grid">
          <a href="#">校本部</a>
          <a href="#">南昌校区</a>
          <a href="#">基础课教学部</a>
          <a href="#">能源与机械工程学院</a>
          <a href="#">商学院</a>
          <a href="#">国际创新研究院</a>
        </div>
      </section>
    </div>
  </main>

  <!-- 页脚 -->
  <footer class="site-footer">
    <div class="container">
      <p>Copyright© 2021 软件工程学院 All Rights Reserved.</p>
      <p>联系地址：江西省南昌市昌北经济开发区双港东大街1180号江西理工大学第一教学楼</p>
      <p>联系电话：0791-83858322</p>
    </div>
  </footer>


  
    <!-- 轮播图控制脚本 -->  <script>
    document.addEventListener('DOMContentLoaded', () => {
      const indicators = document.querySelectorAll('.indicator');
      const items = document.querySelectorAll('.carousel-item');
      let currentIndex = 0;
      const total = items.length;

      // 自动轮播
      setInterval(() => {
        currentIndex = (currentIndex + 1) % total;
        updateCarousel();
      }, 3000);

      // 点击指示器切换
      indicators.forEach((dot, index) => {
        dot.addEventListener('click', () => {
          currentIndex = index;
          updateCarousel();
        });
      });

      function updateCarousel() {
        // 重置所有
        items.forEach(item => item.style.opacity = '0');
        indicators.forEach(dot => dot.classList.remove('active'));

        // 显示当前
        items[currentIndex].style.opacity = '1';
        indicators[currentIndex].classList.add('active');
      }
    });
  </script>

</body>
</html>